package com.jymj.entity.data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.math.RoundingMode;

/**
 * Created by ljj on 2018/3/27.
 */
public class KxTxHzEntity implements Serializable {

    private BigDecimal nydmj;
    private BigDecimal jsydmj;
    private BigDecimal wlydmj;

    public BigDecimal getNydmj() {
        return nydmj == null ? new BigDecimal(0) : nydmj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setNydmj(BigDecimal nydmj) {
        this.nydmj = nydmj;
    }

    public BigDecimal getJsydmj() {
        return jsydmj == null ? new BigDecimal(0) : jsydmj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setJsydmj(BigDecimal jsydmj) {
        this.jsydmj = jsydmj;
    }

    public BigDecimal getWlydmj() {
        return wlydmj == null ? new BigDecimal(0) : wlydmj.setScale(1, RoundingMode.HALF_UP);
    }

    public void setWlydmj(BigDecimal wlydmj) {
        this.wlydmj = wlydmj;
    }
}
